package net.csdra.libraryborrowing.controller.adapter;

/**
 * Created by msf on 2017/10/11.
 */
public interface SendEmailAdapter {
    /**
     * 发送email
     *
     * @param sendEmail
     * @return
     */
    public boolean sendEmail(SendEmail sendEmail);

    class SendEmail {
        String emailAddress;
        String sendBoby;

        public String getEmailAddress() {
            return emailAddress;
        }

        public void setEmailAddress(String emailAddress) {
            this.emailAddress = emailAddress;
        }

        public String getSendBoby() {
            return sendBoby;
        }

        public void setSendBoby(String sendBoby) {
            this.sendBoby = sendBoby;
        }
    }
}
